import request from '../../../utils/request'

function getGroupList(data) {
  return request({
    url: '/jklc/group/getList',
    method: 'get'
  })
}
function addGroup(data) {
  return request({
    url: '/jklc/group',
    method: 'post',
    data
  })
}
function setGroup(data) {
  return request({
    url: '/jklc/group',
    method: 'put',
    data
  })
}
function delGroup(data) {
  return request({
    url: '/jklc/group',
    method: 'delete',
    data
  })
} function getGroupData(params) {
  return request({
    url: '/jklc/group/getInfo',
    method: 'get',
    params
  })
}

export { getGroupList, addGroup, setGroup, delGroup, getGroupData, }
